package com.qualityevaluationclouduser.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: qualityEvaluationCloudProject
 * @description: 系统登录
 * @author:
 * @create:
 **/
@Data
@ApiModel(value = "系统登录")
public class SysLog {
    @ApiModelProperty(value = "标识",name = "id")
    private Long id;
    @ApiModelProperty(value = "用户名",name = "username")
    private String username;
    @ApiModelProperty(value = "用户操作",name = "operatioin")
    private String operation;
    @ApiModelProperty(value = "请求方法",name = "method")
    private String method;
    @ApiModelProperty(value = "请求参数",name = "params")
    private String params;
    @ApiModelProperty(value = "请求地址",name = "ip")
    private String ip;
    @ApiModelProperty(value = "创建时间",name = "createDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
}
